/*
 *  ConcreteRegion.h
 *  SoundController0002
 *
 *  Created by jiro on 11/10/04.
 *  Copyright 2011 jiro music. All rights reserved.
 *
 */

#pragma once

#include "../HarmonicSystem/HarmonicSystem.h"

namespace sc
{
namespace system0039
{

	class ConcreteLine;

	class ConcreteRegion : public std::vector< ConcreteLine >
	{
	public:

		double GetDuration() const;

		void AddLines( const std::vector< ConcreteLine >& lines );

		void ToSoundElements(
			std::vector< std::vector< std::vector< const ::sc::SoundElement32* > > >& region0,
			std::vector< std::vector< std::vector< const ::sc::SoundElement32* > > >& region1 ) const;

		std::string ToString( int tabCount = 0 ) const;

	};

}
}
